/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.zxr.model.resp;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.admin.common.model.resp.BaseResp;

import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 采购订单信息
 *
 * @author yfh
 * @since 2025/05/07 16:20
 */
@Data
@Schema(description = "采购订单信息")
public class CgddResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 所属采购合同编号
     */
    @Schema(description = "所属采购合同编号")
    private String sscghtbh;

    /**
     * 订单状态编码
     */
    @Schema(description = "订单状态编码")
    private String ddztbm;

    /**
     * 采购订单编号
     */
    @Schema(description = "采购订单编号")
    private String cgddbh;

    /**
     * 需求来源编码
     */
    @Schema(description = "需求来源编码")
    private String xqlybm;

    /**
     * 关联销售订单编号
     */
    @Schema(description = "关联销售订单编号")
    private String glxsddbh;

    /**
     * 供货方编号
     */
    @Schema(description = "供货方编号")
    private Long ghfbh;

    /**
     * 采购方编号
     */
    @Schema(description = "采购方编号")
    private Long cgfbh;

    /**
     * 燃料类型编号
     */
    @Schema(description = "燃料类型编号")
    private String rllxbh;

    /**
     * 燃料等级编号
     */
    @Schema(description = "燃料等级编号")
    private String rldjbh;

    /**
     * 基准价格(元)
     */
    @Schema(description = "基准价格(元)")
    private BigDecimal jzjgy;

    /**
     * 基准价格单位编码
     */
    @Schema(description = "基准价格单位编码")
    private String jzjgdwbm;

    /**
     * 浮动价格范围(百分比) 浮动价格(元)
     */
    @Schema(description = "浮动价格范围(百分比) 浮动价格(元)")
    private BigDecimal fdjgfwbfbfdjg;

    /**
     * 浮动价格单位编码
     */
    @Schema(description = "浮动价格单位编码")
    private String fdjgdwbm;

    /**
     * 燃料价格
     */
    @Schema(description = "燃料价格")
    private BigDecimal rljg;

    /**
     * 燃料价格编码
     */
    @Schema(description = "燃料价格编码")
    private String rljgbm;

    /**
     * 采购数量
     */
    @Schema(description = "采购数量")
    private BigDecimal cgsl;

    /**
     * 采购数量单位编码
     */
    @Schema(description = "采购数量单位编码")
    private String cgsldwbm;

    /**
     * 订单金额(元)
     */
    @Schema(description = "订单金额(元)")
    private BigDecimal ddjey;

    /**
     * 供货周期(天)
     */
    @Schema(description = "供货周期(天)")
    private Integer ghzqt;

    /**
     * 供货周期开始
     */
    @Schema(description = "供货周期开始")
    private LocalDateTime ghzqks;

    /**
     * 供货周期结束
     */
    @Schema(description = "供货周期结束")
    private LocalDateTime ghzqjs;

    /**
     * 支付方式编码
     */
    @Schema(description = "支付方式编码")
    private String zffsbm;

    /**
     * 支付比例(百分比)
     */
    @Schema(description = "支付比例(百分比)")
    private BigDecimal zfblbfb;

    /**
     * 下磅应付款金额
     */
    @Schema(description = "下磅应付款金额")
    private BigDecimal xbyfkje;

    /**
     * 提货地址
     */
    @Schema(description = "提货地址")
    private String thdz;

    /**
     * 收货地址
     */
    @Schema(description = "收货地址")
    private String shdz;

    /**
     * 收货人
     */
    @Schema(description = "收货人")
    private String shr;

    /**
     * 收货人联系方式
     */
    @Schema(description = "收货人联系方式")
    private String shrlxfs;

    /**
     * 订单备注
     */
    @Schema(description = "订单备注")
    private String ddbz;

    /**
     * 审核状态编码
     */
    @Schema(description = "审核状态编码")
    private String shztbm;

    /**
     * 审核人员
     */
    @Schema(description = "审核人员")
    private String shry;

    /**
     * 审核日期
     */
    @Schema(description = "审核日期")
    private LocalDateTime shrq;

    /**
     * 审核意见
     */
    @Schema(description = "审核意见")
    private String shyj;

    /**
     * 审核状态二级
     */
    @Schema(description = "审核状态二级")
    private String shztej;

    /**
     * 审核人员二级
     */
    @Schema(description = "审核人员二级")
    private String shryej;

    /**
     * 审核日期二级
     */
    @Schema(description = "审核日期二级")
    private LocalDateTime shrqej;

    /**
     * 审核意见二级
     */
    @Schema(description = "审核意见二级")
    private String shyjej;

    /**
     * del_flag
     */
    @Schema(description = "del_flag")
    private Integer delFlag;

    /**
     * update_user
     */
    @Schema(description = "update_user")
    private String updateUser;

    /**
     * update_time
     */
    @Schema(description = "update_time")
    private LocalDateTime updateTime;
}